import { Router } from 'express';
import { authenticate } from '@/middleware/auth';
import {
  expenseStatistics,
  incomeStatistics,
  fuelStatistics,
  expenseRatioStatistics,
} from '@/controllers/statisticsController';

const router = Router();

router.use(authenticate);

router.get('/expense', expenseStatistics);
router.get('/income', incomeStatistics);
router.get('/fuel', fuelStatistics);
router.get('/expense-ratio', expenseRatioStatistics);

export default router;
